<template>
  <div>
    <el-row :gutter="10">
        <el-col :span="6">
           <el-card>
             <Detail title="总销售额"  count="￥ 126560">
             <template slot="charts">
               <span>周同比&nbsp;&nbsp;57.6% <svg t="1651482500532" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3913" data-spm-anchor-id="a313x.7781069.0.i6" width="16" height="16"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" p-id="3914" fill="#d81e06"></path></svg></span>
                 <span>日同比&nbsp;&nbsp;67.1% <svg t="1651482590452" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6296" width="16" height="16"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" p-id="6297" fill="#1afa29"></path></svg></span>
                 </template>
                <template slot="footer">
                    <span>日销售额 ￥12423</span>
                </template>
            </Detail>
           </el-card>
           
        </el-col>
        <el-col :span="6">
              <el-card>
             <Detail  title="周访问量"  count="88460">
                  <template slot="charts">
                    <lineChart/>
                </template>
                     <template slot="footer">
                    <span>日访问量 13640<svg t="1651487849622" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8203" width="16" height="16"><path d="M644.8 581.568l160.64 187.456A64 64 0 0 1 756.842667 874.666667H267.157333a64 64 0 0 1-48.597333-105.642667l160.661333-187.434667c18.922667 11.52 39.466667 20.629333 61.205334 26.944L267.157333 810.666667l212.842667-0.021334V682.666667h64v127.978666l212.842667 0.021334-173.269334-202.133334a254.613333 254.613333 0 0 0 61.226667-26.965333zM512 149.333333c117.824 0 213.333333 95.509333 213.333333 213.333334s-95.509333 213.333333-213.333333 213.333333-213.333333-95.509333-213.333333-213.333333S394.176 149.333333 512 149.333333z m0 64a149.333333 149.333333 0 1 0 0 298.666667 149.333333 149.333333 0 0 0 0-298.666667z" p-id="8204" fill="#1296db"></path></svg></span>
                </template>
             </Detail>
           </el-card>
        </el-col>
        <el-col :span="6">
              <el-card>
             <Detail  title="支付笔数"  count="101505">
                 <template slot="charts">
                   <barChart/>
                </template>
                     <template slot="footer">
                    <span>转化率 65%</span>
                </template>
             </Detail>
           </el-card>
        </el-col>
        <el-col :span="6">
              <el-card>
             <Detail  title="运营活动效果"  count="78%">
                 <template slot="charts">
                 <progressChart/>
                </template>
                     <template slot="footer">
                   <span>周同比&nbsp;&nbsp;12.1% <svg t="1651482500532" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3913" data-spm-anchor-id="a313x.7781069.0.i6" width="16" height="16"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" p-id="3914" fill="#d81e06"></path></svg></span>
                 <span>日同比&nbsp;&nbsp;16.9% <svg t="1651482590452" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6296" width="16" height="16"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" p-id="6297" fill="#1afa29"></path></svg></span>
                </template>
             </Detail>
           </el-card>
        </el-col>
    </el-row>
      
  </div>
</template>

<script>
import lineChart from './lineChart'
import Detail from './detail'
import barChart from './barChart'
import progressChart from './progressChart'
export default {
    name:'card',
    components:{Detail,
    lineChart,
    barChart,
    progressChart}
        
    
}
</script>

<style>

</style>